package org.jeecg.modules.monitoring.j_monitoring.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.MPart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 备份备件Mapper
 * @Author: xiaoyq
 * @Date:   2023-09-11
 * @Version: V1.0
 */
public interface MPartMapper extends BaseMapper<MPart> {
    /**
     * 获得temp模型信息
     * @param id
     * @return
     */
    MPart getTemp(@Param("id") String id);

    /**
     * 备份备件分页查询
     * @param partName
     * @param configuration
     * @return
     */
    MPart selectByPartNameAndConfiguration(@Param("partName") String partName, @Param("configuration") String configuration);
}
